package com.example.jpa.crud.service;

import java.util.Map;
import java.util.Optional;

public interface JsonService {

    Optional<Map<String, Object>> fromBytes(byte[] bytes);

    String toJson(Object object);

}
